<link rel="stylesheet" type="text/css" href="/components/<?=$this->getComponentDir()?>/css/accordion.css"/>

<script type="text/javascript">

        $(document).ready(function() {
		$("#accordion_<?=$this->getLabel()?>Div").accordion();
	});

</script>



<div id="accordion_<?=$this->getLabel()?>Div">
<?foreach ($this->getNotes() as $note):?>
    <h3><a href="#"><?=$note->title?></a></h3>
	<div class="accordion_section">
            <?=$note->content?>
	</div>
<?endforeach?>
</div>